let fs = require("fs");

// console.log(fs.statSync("../node").isFile());

gui("../node")
function gui(str){
    if(fs.readdirSync(str) == null){
        return false;
    }

    let read = fs.readdirSync(str);
    for(let i of read){
        if(fs.statSync(str + "/" + i + "").isFile()){
            console.log(i);
        }
        else{
            gui(str + "/" + i + "");
        }
    }
}